package com.wit.WEB.service;

import com.wit.WEB.entity.Order_;

import java.util.List;

public interface OrderService {
    //等待确认
    String waitConfirm = "waitConfirm";
    //已确认
    String confirmed = "confirmed";

    void addOrder(Order_ order);

    List<Order_> findallByUid(Integer uid);

    List<Order_> findallByConfirmNone(Integer tid);

    List<Order_> findallByConfirmOk(Integer tid);

    List<Order_> findall();

    Order_ selectOrderbyprimary(Integer oid);

    int updateByprimary(Order_ order);
}
